package kr.co.choongang;

import java.io.Serializable;

import org.springframework.web.multipart.MultipartFile;

public class Upload implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer upload_no;
	private Integer board_no;
	private Integer user_seq;
	private static MultipartFile upload_name;
	public Integer getUpload_no() {
		return upload_no;
	}
	public void setUpload_no(Integer upload_no) {
		this.upload_no = upload_no;
	}
	public Integer getBoard_no() {
		return board_no;
	}
	public void setBoard_no(Integer board_no) {
		this.board_no = board_no;
	}
	public Integer getUser_seq() {
		return user_seq;
	}
	public void setUser_seq(Integer user_seq) {
		this.user_seq = user_seq;
	}
	public static MultipartFile getUpload_name() {
		return upload_name;
	}
	public static void setUpload_name(MultipartFile upload_name) {
		Upload.upload_name = upload_name;
	}
	@Override
	public String toString() {
		return "Upload [upload_no=" + upload_no + ", board_no=" + board_no
				+ ", user_seq=" + user_seq + "]";
	}
	public Upload(Integer upload_no, Integer board_no, Integer user_seq) {
		super();
		this.upload_no = upload_no;
		this.board_no = board_no;
		this.user_seq = user_seq;
	}
	public Upload() {
		super();
	}

	
}
